<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<section id="sync-list-section">
	<ul>
		<li><a href="sync/create">Sync Folder</a></li>
	</ul>

	<div class="row-fluid">
		<table class="table table-striped table-bordered table-condensed">
			<thead>
				<tr>
					<th>Folder</th>
					<th>Providers</th>
					<th>Operation</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${syncs}" var="sync">
					<tr>
						<td><a href="folder/${sync.folder.id}">${sync.folder.name}</a></td>
						<td><a href="provider/${sync.provider.id}">${sync.provider.name}</a></td>
						<td><span><a href="sync/${sync.id}">Detail</a></span> | <span><a
								href="sync/delete/${sync.id}">Delete</a></span></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>
</section>